package com.hzit.service;

import com.hzit.dto.StudentDTO;
import com.hzit.entity.PageResult;
import com.hzit.entity.Student;
import com.hzit.vo.StudentVo;

import java.io.IOException;
import java.util.List;

public interface IStudentService {
	List<Student> findAll() throws IOException;

	PageResult<StudentDTO> findByPage(int page, int pageSize) throws IOException;

	PageResult<StudentDTO> search(Integer page, Integer pageSize, StudentVo studentVo) throws IOException;

	void save(StudentDTO studentVo) throws IOException;

	void update(StudentDTO dto) throws IOException;
}
